import request from '@/utils/request'
export default{
    //获取登录页图片
    getLoginPicApi:()=>request.get('/api/admin/getLoginPic'),
    validateCodeApi:()=>request.get('/api/admin/validate/code/get'),
    loginApi:data=>request.post('/api/admin/login',data),
    getMenusApi:()=>request.get('/api/admin/getMenus'),
    getAdminInfoByTokenApi:()=>request.get('/api/admin/getAdminInfoByToken')
}